import enLocale from "vant/es/locale/lang/en-US";

export const lang = {
  add: "Add",
  syncing: "Syncing",
  syncFailed: "Sync Failed",
  connecting: "Connecting",
  connectFailed: "Connection Failed",
  searching: "Searching...",
  loading: "Loading",
  chats: "Messages",
  contact: "Contacts",
  workbench: "Workbench",
  profile: "Mine",
  welcome: "Welcome to OpenIM",
  emptySearchDesc: "No search results",
  offlinePushTitle: "You have a new message",
  offline: "Offline",
  online: "Online",
  noMore: "No more",
  groupAdmin: "Admin",
  groupOwner: "Owner",
  groupIDDesc: "GroupID",
  groupNickDesc: "Group Nickname",
  joinGroupTime: "Join Time",
  joinGroupMethod: "Method of Joining Group",
  setAdmin: "Set Admin",
  setMute: "Set Mute",
  userInfo: "Personal Information",
  inviteToGroup: "Invite to Group",
  qrToGroup: "QR Code to Join Group",
  searchToGroup: "Search to Join Group",
  members: "Members",
  memberCounts: "Group Members",
  seeMore: "See More",
  groupVerificationDesc: "Group Chat Verification",
  groupPermissionsDesc: "Group Member Permissions",
  transferGroupDesc: "Transfer Group Ownership",
  viewMemberPermissionsDesc:
    "No Permission to View Other Group Members' Information",
  applyMemberPermissionsDesc: "Not Allowed to Add Group Members as Friends",
  setMuteTitle: "Set Mute",
  customs: "Custom",
  information: "Text",
  picture: "Picture",
  video: "Video",
  documnet: "Document",
  contactCard: "Business Card",
  messageSelected: "Message Selected",
  messageRecipientList: "Message Recipient List",
  allReaded: "All Read",
  readed: "Read",
  unread: "Unread",
  someUnread: "{count} people unread",
  createGroup: "Create Group Chat",
  createGroupDesc: "Create a group chat and fully use OpenIM",
  joinGroup: "Join Group Chat",
  joinGroupDesc: "Ask an administrator or team member for the ID",
  createNow: "Create Now",
  applyJoin: "Apply to Join",
  you: "You",
  friendApply: "Apply to add {name} as a friend",
  friendApplyDesc: "Verification message: ",
  groupApplyDesc: "Application reason: ",
  chooseAvatar: "Choose your avatar",
  forgetPasswordTitle: "Forgot Password",
  forgetPassword: "Forgot Password?",
  password: "Password",
  confirmPassword: "Confirm Password",
  reConfirmPassword: "Please confirm your password again",
  and: "and",
  haveAccount: "Already have an account?",
  notHaveAccount: "Don't have an account?",
  nowRegister: "Register Now",
  cellphoneNumber: "Cellphone Number",
  passwordRequired: "6-20 characters, must include numbers and letters",
  verifyPhoneNumber: "Verify Cellphone Number",
  inputCodeDesc: "Please enter the 6-digit code sent to",
  validDesc: "valid for 10 minutes",
  reAcquire: "Resend",
  reAcquireDesc: "Verification Code",
  sec: "seconds",
  noData: "No Data",
  qrCode: "QR Code",
  scanQrCode: "Scan",
  scanQrCodeDesc: "Scan QR code business card",
  groupQrCode: "Group QR Code",
  chatID: "User ID",
  gender: "Gender",
  name: "Nickname",
  nickName: "User Nickname",
  remark: "Remark",
  updateNickName: "Update Nickname",
  age: "Age",
  birthday: "Birthday",
  cellphone: "Cellphone",
  email: "Email",
  ageYear: "Years Old",
  private: "Private",
  female: "Female",
  male: "Male",
  on: "On",
  off: "Off",
  comprehensive: "All",
  group: "Group",
  chatRecord: "Record",
  documentation: "Document",
  addFriend: "AddFriend",
  addFriendDesc: "Add by searching ID",
  addGroup: "AddGroup",
  addGroupDesc: "Search ID to add group",
  meeting: "Video Meeting",
  historyRecordCount: "{number} related records",
  people: "People",
  somePeople: "{count} People",
  groupMember: "Group Member",
  groupMemberCount: "Group Members {count} People",
  friendVerification: "Friend Verification",
  verifyMessage: "Verification Message",
  sendMessage: "Send Message",
  groupName: "Group Name",
  avatar: "Avatar",
  groupAvatar: "Group Avatar",
  clickUpload: "Click to Upload",
  invite: "Invite",
  contactSelectedCount: "{count} Contacts Selected",
  addMember: "Add Group Member",
  kickMember: "Remove Group Member",
  addOrCreate: "Add/Create",
  recvApplication: "Received Requests",
  sentApplication: "Sent Requests",
  notRequired: "Allow Anyone to Join Group",
  allRequired: "Require Verification Message",
  groupMemberApply: "Group Member Invitation",
  applyRequired: "No Verification Required for Group Member Invitation",
  addGroupChat: "Add Group Chat",
  createGroupChat: "Create Regular Group",
  createWorkGroup: "Create Work Group",
  userID: "User ID",
  groupID: "Group Chat ID",
  personalInformation: "Personal Information",
  forwardMessage: "Forward Message",
  mergeSingleTitle: "Chat History with {name}",
  mergeGroupTitle: "Group Chat History in {name}",
  typing: "Typing...",
  uploading: "Uploading...",
  selectDate: "Select Date",
  no: "None",
  pieces: "[{number} pieces]",
  phoneOnline: "Phone Online",
  scanQr: "Scan",
  launchGroup: "Group",
  photograph: "Photograph",
  recording: "Recording",
  searchGroupID: "Search Group ID",
  source: "Source",
  selectAtMember: "Select @Member",
  find: "Find",
  friendSettings: "Friend Settings",
  setNickname: "Set Remark",
  shareFriend: "Recommend to Friends",
  unfriend: "Unfriend",
  changeGroupName: "Change Group Chat Name",
  changeGroupNickname: "My Nickname in the Group",
  someNewMessage: "{count} New Messages",
  forward: "Merge and Forward",
  singleMerge: "Chat History with {name}",
  groupMerge: "Group Chat History in {name}",
  atAll: "@Everyone",
  someChatRecord: "{count} Chat Records",
  myLocation: "My Location",
  moreContacts: "View More Contacts",
  moreGroup: "View More Groups",
  moreChatRecord: "View More Records",
  moreDocumnet: "View More Documents",
  ownerAndAdminCanEdit: "Owner and Admin Can Edit",
  groupManage: "Group Management",
  allMute: "Mute All Members",
  notAllowLookMemberInfo: "No Permission View Member Info",
  notAllowApplyMember: "Not Allowed Add Members",
  groupAccess: "Group Access",
  groupTransfer: "Transfer Owner",
  groupSetting: "Group Settings",
  groupNickname: "My Nickname in This Group",
  groupPin: "Pin Group",
  allGroupMember: "View Group Members",
  notification: "System Notification",
  findingChatHistory: "Find Chat History",
  noRelevantContent: "No Relevant Content for “{keyword}”",
  chatSetting: "Chat Settings",
  chatPin: "Pin Contact",
  chatPrivate: "Private Chat",
  chatPrivateTime: "Time Setting",
  chatPrivateDesc: "Regularly Delete Message History",
  register: "Registration",
  invitationCode: "Invitation Code",
  optional: "Optional",
  setInfo: "Set Info",
  changePassword: "Change Password",
  oldPassword: "Old Password",
  newPassword: "New Password",
  selected: "Selected",
  offFlash: "Turn Off Flash",
  onFlash: "Turn On Flash",
  placeholder: {
    allMuted: "Group owner or administrator has enabled mute for all members",
    groupDisbanded: "This group has been disbanded",
    groupBanned: "This group has been banned",
    singleBanned: "You have been muted",
    search: "Search",
    pleaseInput: "Please enter",
    inputNickname: "Please enter a nickname",
    inputInvitationCode: "Please enter the invitation code",
    inputVerificationCode: "Please enter the verification code",
    sec: "seconds",
    groupNoticePlaceholder: "Please enter group notice..",
    inputPassword: "Please enter password",
    confirmPassword: "Please confirm password",
    inputPhoneNumber: "Please enter your phone number",
    select: "Please select",
    userOrGroupIDInput: "Please enter {type}",
    writeMessage: "Write a message...",
    inputGroupName: "Please enter group name",
    typingMessage: "Type your message here",
    inputName: "Please enter your nickname",
    completeCreation: "Complete Creation",
  },
  buttons: {
    emoji: "Emoji",
    cancel: "Cancel",
    accept: "Accept",
    reject: "Reject",
    sure: "Sure",
    confirm: "Confirm",
    clearHistoryMessage: "Clear History Messages",
    disbandGroup: "Disband Group",
    quitGroup: "Quit Group",
    save: "Save",
    release: "Release",
    edit: "Edit",
    clear: "Clear",
    unfriend: "Unfriend",
    pending: "Pending",
    rejected: "Rejected",
    approved: "Approved",
    verificationCode: "Send",
    login: "Login",
    verificationCodeLogin: "Verification Code Login",
    passwordLogin: "Password Login",
    register: "Register",
    changes: "Modify",
    enterApp: "Enter Good Luck",
    next: "Next",
    remove: "Remove",
    sendVerification: "Send Application",
    pin: "Pin",
    cancelPin: "Unpin",
    markAsRead: "Mark as Read",
    send: "Send",
    toDetail: "View Details",
    holdSpeak: "Hold to Speak",
    releaseSend: "Release to Send",
    releaseCancel: "Release to Cancel",
    nextStep: "Next Step",
  },
  tooltip: {
    send: "Send",
    audioMessage: "Audio Message",
    fileMessage: "File Message",
    imageMessage: "Image Message",
    videoMessage: "Video Message",
    cardMessage: "Card Message",
    mute: "Set Mute",
    admin: "Set Admin",
  },
  popover: {
    groupAnnouncement: "Group Announcement",
    chatRecord: "Chat Record",
    settings: "Settings",
    memberPermissions: "Group Member Permissions",
    transferGroup: "Transfer Group Ownership",
    groupMember: "Group Members",
    kickConfirmTitle: "Are you sure you want to kick out this member?",
    clearModalTitle: "Clear Chat History",
    clearModalContent:
      "Once deleted, the information of this conversation cannot be viewed",
    clearChatHistory: "Confirm to clear chat history?",
  },
  checks: {
    pin: "Pin",
    notDisturb: "Do Not Disturb",
    notAccept: "Block Messages",
    allBan: "Mute All",
    addToBlack: "Add to Blacklist",
    burnRead: "Burn After Reading",
  },
  messageMenu: {
    forward: "Forward",
    copy: "Copy",
    revoke: "Revoke",
    multipalChoise: "Multiple",
    replay: "Reply",
    delete: "Delete",
  },
  contactMenu: {
    contacts: "Contacts",
    frequentContacts: "Frequent",
    newFriends: "New Friends",
    newGroup: "New Group Chat",
    myGoodFriend: "My Friends",
    myGroup: "My Groups",
    applyGroup: "Apply Join Group",
    myApply: "My Applications",
    chooseFriend: "Select Friend",
    chooseGroup: "Select Group",
    chooseCompany: "Select Structure",
    recentSession: "Recent Sessions",
    myCreate: "Me Created",
    myJoin: "Me Joined",
  },
  profileMenu: {
    personalInformation: "My Information",
    addressBookBlacklist: "Blacklist",
    language: "Language",
    clearChatHistory: "Clear Chat History",
    accountSetting: "Account Settings",
    aboutUs: "About Us",
    logOut: "LogOut",
    uploadLog: "Upload Debug Log",
    blacklist: "Blacklist",
    disturbMode: "Do Not Disturb Mode",
    newMessageSound: "New Message Sound",
    disallowAddMe: "Disallow Add Me as Friend",
  },
  messageDesc: {
    imageMessage: "[Image Message]",
    videoMessage: "[Video Message]",
    audioMessage: "[Audio Message]",
    locationMessage: "[Location Message]",
    cardMessage: "[Card Message]",
    mergeMessage: "[Merged Message]",
    FileMessage: "[File Message]",
    customMessage: "[Custom Message]",
    quoteMessage: "[Quote Message]",
    faceMessage: "[Emoji Message]",
    draftMessage: "[Draft]",
    atAll: "[@All]",
    atYou: "[Someone @You]",
    groupAnnouncement: "[Group Announcement]",
    notSupMessage: "[Unsupported Message Type]",
    notificationMessage: "[Notification Message]",
    rtcMessage: "[Voice Message]",
    meetingMessage: "[Meeting Message]",
    quoteRevokeMessage: "Quoted content has be revoked",
  },
  messageDescription: {
    imageMessage: "[Image]",
    voiceMessage: "[Voice]",
    fileMessage: "{file}",
    locationMessage: "[Location]{location}",
    videoMessage: "[Video]",
    cardMessage: "[Card]",
    faceMessage: "[Emoji]",
    rtcMessage: "[Call]",
    quoteMessage: "[Quoted Message]",
    mergeMessage: "[Chat History]",
    customMessage: "[Custom Message]",
    notSupMessage: "[Unsupported Message Type]",
    draftPrefix: "[Draft]",
    atAllPrefix: "[@All]",
    atYouPrefix: "[Someone @You]",
    groupAnnouncementPrefix: "[Group Announcement]",
    somePerson: "{num} people",
    revokeMessage: "{revoker} revoked a message",
    advancedRevokeMessage: "{operator} revoked a message sent by {revoker}",
    alreadyFriendMessage: "You are already friends, start chatting now",
    createGroupMessage: "{creator} created a group chat",
    updateGroupInfoMessage: "{operator} updated group information",
    updateGroupNameMessage: "{operator} changed the group name to {name}",
    updateGroupAnnouncementMessage: "{operator} updated the group announcement",
    transferGroupMessage: "{owner} transferred group ownership to {newOwner}",
    quitGroupMessage: "{name} left the group chat",
    invitedToGroupMessage:
      "{operator} invited {invitedUser} to join the group chat",
    kickInGroupMessage: "{operator} removed {kickedUser}",
    joinGroupMessage: "{name} joined the group chat",
    disbandedGroupMessage: "{operator} disbanded the group chat",
    allMuteMessage: "{operator} enabled mute for all members",
    cancelAllMuteMessage: "{operator} disabled mute for all members",
    singleMuteMessage: "{name} was muted by {operator} for {muteTime}",
    cancelSingleMuteMessage: "{operator} unmuted {name}",
    burnReadStatus: "Burn after reading is now {status}",
  },
  notificationTipMessage: {
    revokeMessage: "{revoker} revoked a message",
    advanceRevokeMessage: "{operator} revoked a message sent by {revoker}",
    alreadyFriendMessage: "You are already friends, start chatting now",
    createGroupMessage: "{creator} created a group chat",
    updateGroupInfoMessage: "{operator} updated group information",
    updateGroupAnnouncementMessage: "{operator} updated the group announcement",
    transferGroupMessage: "{owner} transferred group ownership to {newOwner}",
    quitGroupMessage: "{name} left the group chat",
    invitedToGroupMessage:
      "{operator} invited {invitedUser} to join the group chat",
    kickInGroupMessage: "{operator} removed {kickedUser}",
    joinGroupMessage: "{name} joined the group chat",
    disbandedGroupMessage: "{operator} disbanded the group chat",
    allMuteMessage: "{operator} enabled mute for all members",
    cancelAllMuteMessage: "{operator} disabled mute for all members",
    singleMuteMessage: "{name} was muted by {operator} for {muteTime}",
    cancelSingleMuteMessage: "{operator} unmuted {name}",
    burnReadStatus: "Burn after reading is now {status}",
  },
  messageTip: {
    getOnlineFailed: "Failed to get online status",
    getMemberFailed: "Failed to get group members",
    searchMessageFailed: "Failed to search messages",
    getUserInfoFailed: "Failed to get user information",
    sendCodeFailed: "Failed to send verification code",
    hasRegistered: "This account is already registered",
    notRegistered: "Account not registered",
    passwordError: "Password error",
    notSamePassword: "Passwords entered do not match",
    getTokenFailed: "Failed to get IM token",
    codeInvalidOrExpired: "Verification code is invalid or expired",
    registerFailed: "Registration failed",
    loginFailed: "Login failed",
    verifyFailed: "Verification failed",
    updateSelfInfoFailed: "Failed to update personal information",
    nomalSuccess: "Operation successful",
    nomalFailed: "Operation failed",
    copySuccess: "Copy successful",
    copyFailed: "Copy failed!",
    searchEmpty: "Search results are empty",
    searchFailed: "Search failed!",
    sendApplySuccess: "Request sent successfully",
    sendApplyFailed: "Failed to send request",
    getConversationFailed: "Failed to get conversation information",
    someMessageDeleteFailed: "Some messages failed to delete!",
    inputEmpty: "Content cannot be empty",
    createSuccess: "Created successfully!",
    uploadFailed: "Upload failed!",
    scanGroupQrCodeTip: "Scan the QR code to join the group immediately",
    scanQrCodeTip: "Scan the QR code below to add me as a friend",
    loginExpiration: "Current login has expired, please log in again",
    loginKicked:
      "Your account has been logged in on another device, please log in again",
    sendCard: "Are you sure you want to send {name}'s card?",
    sendSuccess: "Sent successfully!",
    sendFailed: "Send failed!",
    inviteSuccess: "Invitation successful!",
    inviteFailed: "Invitation failed!",
    transferOwner: "Confirm transferring group ownership to: {name}",
    kickSuccess: "Removed successfully!",
    unknownContent: "Unrecognized valid content",
    joinedGroup: "You have joined the group",
    unfriend: "Confirm to unfriend?",
    changeSuccess: "Modified successfully!",
    changeFailed: "Modification failed!",
    deleteSuccess: "Deleted successfully!",
    environmentNotSupported:
      "Failed to get permission or current browser not supported",
    getLocation: "Getting location...",
    getLocationFailed: "Failed to get location",
    canceled: "Canceled",
    recordingTooShort: "Recording time too short",
    generateImageFailed: "Failed to generate cover image!",
    failLoad: "Load failed",
    disbandGroup:
      "Disbanding the group chat will cause all members to lose contact with each other.",
    quitGroup:
      "Quitting the group chat will cause all members to lose contact with each other.",
    correctPhoneNumber: "Please enter a correct phone number",
    invitationCode: "Please enter an invitation code",
    correctPassword: "Incorrect password format",
    rePassword: "Passwords do not match",
    changePasswordSuccess: "Password changed successfully!",
    tryLogout: "Are you sure you want to log out?",
  },
  date: {
    seconds: "seconds",
    minute: "minute",
    minutes: "minutes",
    hour: "hour",
    hours: "hours",
    day: "day",
    days: "days",
    justNow: "Just now",
    thisWeek: "This week",
    thisMonth: "This month",
    earlier: "Earlier",
  },
  footerAction: {
    album: "Album",
    shoot: "Shoot",
    videoCall: "Video Call",
    file: "File",
    idCard: "ID Card",
    location: "Location",
  },
  language: {
    zhCN: "Simplified Chinese",
    enUS: "English",
  },
  errCode: {
    passwordError: 'Password error',
    accountNotExist: "Account doesn't exist",
    phoneNumberRegistered: 'Phone already register',
    accountRegistered: 'Account already registered',
    operationTooFrequent: 'Operation too frequent, please try again later',
    verificationCodeError: 'Incorrect verification code',
    verificationCodeExpired: 'Verification code expired',
    verificationCodeErrorLimitExceed:
      'Verification code error limit exceeded, please try again later',
    verificationCodeUsed: 'Verification code already used',
    invitationCodeUsed: 'Invitation code already used',
    invitationCodeNotExist: 'Invitation code does not exist',
    operationRestriction: 'Operation restricted',
  },
  rtc: {
    voice: 'Voice Call',
    video: 'Video Call',
    canceled: 'Canceled',
    refused: 'Refused',
    timeout: 'Timeout',
    callDuration: 'Duration',
    handleByOtherDevice: 'Handled on Another Device',
    joinFailed: 'Join Failed!',
    invitationFailed: 'Failed to Send Invitation!',
    micOpen: 'Microphone On',
    micClose: 'Microphone Off',
    accept: 'Accept',
    hungup: 'Hang Up',
    soundOpen: 'Speaker On',
    soundClose: 'Speaker Off',
    connecting: 'Connecting',
    waitConnected: 'Waiting to Connect',
    inConnect: 'In Call',
    inviteYouVoice: 'Invites You to a Voice Call',
    inviteYouVideo: 'Invites You to a Video Call',
    onCall: 'Calling',
    callRecord: 'Call Record',
    allCall: 'All Call',
    missedCall: 'Missed Call',
    beCall: 'Be Call',
    callOut: 'Call Out',
  },
  vant: enLocale,
};
